package huang.cloudUserApi;

import cloudEntity.entity.SmartUserEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * @program: Smart School
 * @ClassName AuthFeignClient
 * @description:
 * @author: 陈智博
 * @create: 2025-04-11 09:32
 * @Version 1.0
 **/
@Component
@FeignClient( value = "cloud-user-moudle")
public interface AuthFeignClient {

    @RequestMapping(value = "/auth/getUid",method = RequestMethod.POST)
    SmartUserEntity smartUser();

    @RequestMapping(value = "/auth/permission",method = RequestMethod.POST)
    List<String> getUserPermission();

}
